﻿<Window x:Class="ResourceBlender_Express.WinCreateVariantLog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:loc="clr-namespace:ResourceBlender_Express"
    Title="Copying Translations..." WindowStartupLocation="CenterOwner" Loaded="Window_Loaded"
    Height="400" Width="500" MaxHeight="400" MaxWidth="500" 
    Style="{StaticResource {x:Type Window}}" Icon="/ResourceBlender-Express;component/Resources/images/resourceblender.ico">
    <Window.CommandBindings>
        <CommandBinding Command="ApplicationCommands.Close" Executed="CloseWindow" />
        <CommandBinding Command="loc:ResourceBlenderCommands.Abort" Executed="Abort" CanExecute="CanExecuteAbort" />
    </Window.CommandBindings>
    <DockPanel LastChildFill="True">
        <Label DockPanel.Dock="Top">Progress</Label>
        <ProgressBar x:Name="prgStatus" DockPanel.Dock="Bottom" IsIndeterminate="True" Height="20"  />
        <StackPanel DockPanel.Dock="Bottom"  Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
            <Button x:Name="btnAbort" MinWidth="70" Command="loc:ResourceBlenderCommands.Abort" IsDefault="True" Visibility="Collapsed">Abort</Button>
            <Button x:Name="btnClose" MinWidth="70" Command="ApplicationCommands.Close" IsDefault="True">Close</Button>
        </StackPanel>
        <RichTextBox DockPanel.Dock="Top" IsReadOnly="True" VerticalAlignment="Stretch" VerticalScrollBarVisibility="Visible">
            <FlowDocument>
                <Paragraph>
                    <Span x:Name="txtProgress"></Span>
                </Paragraph>
            </FlowDocument>
        </RichTextBox>
    </DockPanel>
</Window>
